package com.tedu.egcqmvcboot.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class UserLoginDTO {
    @ApiModelProperty(value = "用户名",required = true,example = "admin")
    @NotBlank
    private String username;
    @ApiModelProperty(value = "密码",required = true,example = "123456")
    @NotBlank
    public String password;

}
